For a look at magic squares, check out this link: http://www.jcu.edu/math/vignettes/magicsquares.htm